package classes;

public class Link
{
	
	private int id_ = -1;
	private String text_ = "";
	private String idlinkpage_ = "";
	
	public Link()
	{}

	public int getId()
	{
		return this.id_;
	}
	
	public void setId( int id )
	{
		this.id_ = id;
	}
	
	public String getText()
	{
		return this.text_;
	}
	
	public void setText( String text )
	{
		this.text_ = text;
	}
	
   public String getIdLinkPage()
	{
		return this.idlinkpage_;
	}
	
   public void setIdLinkPage( String idlinkpage )
	{
		this.idlinkpage_ = idlinkpage;
	}
	
   public void setProperties( int id, String text, String idlinkpage )
	{
		this.id_ = id;
		this.text_ = text;
		this.idlinkpage_ = idlinkpage;
	}
   
   public String toString()
   {
	   return this.text_;
   }
}
